#ifndef _SETTINGSWIDGET_H_
#define _SETTINGSWIDGET_H_
#include <SEUi/Dialog/Dialog.h>
#include <SECore/Signal.h>
#include <SERender/Entity/Camera.h>

namespace SEngine
{
    class EditLayer;
    class SettingsWidget : public Dialog
    {
    public:
        SettingsWidget(EditLayer & layer);
        virtual ~SettingsWidget() = default;

    public:
        void OnUpdateCamera(Camera & camera);

    protected:
        virtual void BeginUpdate() override;
        virtual void UpdateImpl(int delta) override;
        virtual void EndUpdate() override {}

    // public:
    //     Signal<Camera&> SignalSyncCamera;

    private:
        Signal<>        SignalUpdateGUI;

    private:
        EditLayer & m_layer;
    };
} // namespace SEngine



#endif